<?php
namespace Orx\Etl\Extractor\Source;
/**
 * Contact Import File Reader
 * Handle format translation
 *
 * @author Xavier VILAIN
 * @package Orx\Etl\Extractor\Source
 * @license #license-orx-etl#
 *
 */
class Reader {
	
	
	/**
	 * 
	 * Enter description here ...
	 * @param unknown_type $data
	 * @param unknown_type $format
	 */
	public static function convert($inbound,$data,$rule) {
		if(!empty($rule)) {
			$result = eval($rule);
			return $result;
		}
		else {
			return $inbound;
		}
	} 
}